<div class="breadcrum">
    <p>
        <a href="#">Settings</a><span></span>
        <a href="{$config->site_url('pengaturan/operator')}">Users</a><span></span>
        <small>{$result.nama_lengkap|default:''}</small>
    </p>
    <div class="clear"></div>
</div>
<div class="sub-nav-content">
    <ul>
        <li><a href="{$config->site_url('pengaturan/operator/edit/'|cat:$result.user_id)}">Data Pribadi</a></li>
        <li><a href="{$config->site_url('pengaturan/operator/school/'|cat:$result.user_id)}">Riwayat Sekolah</a></li>
        <li><a href="{$config->site_url('pengaturan/operator/college/'|cat:$result.user_id)}" class="active">Riwayat Perguruan Tinggi</a></li>
        <li><a href="{$config->site_url('pengaturan/operator/training/'|cat:$result.user_id)}">Riwayat Pelatihan</a></li>
        <li><a href="{$config->site_url('pengaturan/operator/work/'|cat:$result.user_id)}">Pengalaman Kerja</a></li>
        <li><a href="{$config->site_url('pengaturan/operator/account/'|cat:$result.user_id)}">Account Settings</a></li>
    </ul>
    <div class="clear"></div>
    <div class="sub-content">
        <div class="navigation">
            <div class="navigation-button">
                <ul>
                    <li><a href="{$config->site_url('pengaturan/operator/add_college/'|cat:$result.user_id)}"><img src="{$BASEURL}resource/doc/images/icon/add-icon.png" alt="" /> Add Data</a></li>
                </ul>
            </div>
            <div class="clear"></div>
        </div>
        <!-- notification template -->
        {include file="base/templates/notification.html"}
        <!-- end of notification template-->
        <div class="content-scroll">
            <table class="table-view" width="100%">
                <tr>
                    <th width="3%">No</th>
                    <th width="15%">Nama Universitas</th>
                    <th width="34%">Alamat Universitas</th>
                    <th width="15%">Jurusan</th>
                    <th width="8%">Tahun Masuk</th>
                    <th width="8%">Tahun Lulus</th>
                    <th width="5%">Sertifikat</th>
                    <th width="15%"></th>
                </tr>
                {$no = 1}
                {foreach from=$rs_college item=result}
                <tr {if ($no % 2) <> 1}class="blink-row"{/if}>
                    <td align="center">{$no++}.</td>
                    <td>{$result.college_nm|default:''}</td>
                    <td>{$result.college_address|default:''}</td>
                    <td>{$result.college_subject|default:''}</td>
                    <td align="center">{$result.college_start|default:''}</td>
                    <td align="center">{$result.college_end|default:''}</td>
                    <td align="center">{$result.college_certificate|default:''}</td>
                    <td align="center">
                        <a href="{$config->site_url('pengaturan/operator/edit_college/'|cat:$result.data_id|default:'')}" class="button-edit">Edit</a>
                        <a href="{$config->site_url('pengaturan/operator/delete_college_process/'|cat:$result.data_id|cat:'/'|cat:$result.user_id)}" class="button-hapus" onclick="return confirm('Apakah Anda yakin akan menghapus data ini?')">Hapus</a>
                    </td>
                </tr>
                {foreachelse}
                <tr>
                    <td colspan="8">Data not found!</td>
                </tr>
                {/foreach}
            </table>
        </div>  
    </div>
</div>